package lab02.test10;
public class BeiJingPeople extends People {
    //行为：重写父类中的各个方法
    public  void speak(){
        System.out.println("北京人：");
        System.out.println("北京话");
    }
    public void averageHeight() {
        height=175.0;
        System.out.println("平均身高height="+height);
    }

    public void  averageWeight() {
        weight=75;
        System.out.println("平均体重weight="+weight);
    }

}


